<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/detail.css" />
	</head>

	<body>
		<div class="web">
			<header>
					<div class="img">
						<a href="../index/index.html"><img src="img/icon_back.png" /></a>
					</div>
					<div class="letter">
						<p>推广</p>
					</div>
					<div class="nav">
						<ul class="clearfix">
							<li class="fl">
								<a href="product.html">商品</a>
							</li>
							<li class="active fl">
								<a href="detail.html">详情</a>
							</li>
							<li class="fl">
								<a href="evaluation.html">评价</a>
							</li>
						</ul>
					</div>
			</header>

			<section>
				<div class="top">
					<ul class="clearfix">
						<li class="active fl">
							<a href="detail.html">图文详情</a>
						</li>
						<li class="fl">
							<a href="specifications.html">规格参数</a>
						</li>
						<li class="fl">
							<a href="packaging-after-sale.html">包装售后</a>
						</li>
						<li class="fl">
							<a href="distribution-instructions.html">分销说明</a>
						</li>
					</ul>
				</div>
				<div class="main">
					<div class="one">
						<img src="img/article_pic1.jpg" />
						</a>
						<div class="two">
							<img src="img/article_pic2.jpg" />
							</a>
							<div class="three">
								<img src="img/article_pic3.jpg" />
								</a>
							</div>
			</section>

			</div>

			<script>
				document.body.style.height = window.innerHeight + "px";

				/*动态改变根元素字体大小*/
				function recalc() {
					var clientWidth = document.documentElement.clientWidth;
					if(!clientWidth) return;
					document.documentElement.style.fontSize = 40 * (clientWidth / 640) + 'px';
					//字体大小   =1个rem单位表示多少个像素*(设备的宽度 /设计宽度)
				}

				function initRecalc() {
					recalc();
					var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
					if(!document.addEventListener) return;
					window.addEventListener(resizeEvt, recalc, false);
					document.addEventListener('DOMContentLoaded', recalc, false);
				}
				initRecalc();
			</script>

	</body>

</html>